<% form_for(@route,:html => { :multipart => true }) do |f| %>
<%= f.error_messages %>

  <%= render :partial => 'form', :locals => { :f => f } %>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'List', routes_path %>

